package itesm.coler.models;

import java.io.Serializable;


import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement
@SuppressWarnings("serial")
public class Course implements Serializable {
	
	private String encodedKey;
	private String courseId;
	private String courseName;
	private User professorUser;	
	private boolean active;
	
	public Course() {
	}
	
	public Course(String courseId, String courseName, User professorUser, boolean active) {
		this.courseId = courseId;
		this.courseName = courseName;
		this.professorUser = professorUser;
		this.active = active;
	}
	public String getEncodedKey() {
		return encodedKey;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseid) {
		this.courseId = courseid;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean b) {
		this.active = b;
	}
	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public User getProfessorUser() {
		return professorUser;
	}
	
	public void setProfessorUser(User professorUser) {
		this.professorUser = professorUser;
	}

	
}
